package com.seu.githubcn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("repo")
@Data
public class Repo {
    @TableId(type = IdType.AUTO)
    private Integer repoId;
    private String repoName;
    private Integer ownerId;
    private String OwnerName;
    private String description;
    private String defaultBranch;
    private Boolean isPrivate;
    private Boolean isForked;
    private Integer forkId;


    @TableField(exist = false)
    private Repo forkRepo;

}
